STEP 13: We're ready to use the contents of our 2D list. If a value in our list is 0, then we should create a red square.

  • In LOGIC and , drag if indented twelve spaces inside create_maze().
  • Change choice to column and "yes" to 0.
  • In GRAPHICS and , drag Set Color indented sixteen spaces into your if statement.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)